package com.ls.lserp.dbaccess.Dao;

import java.util.List;

import com.ls.lserp.common.persistence.CrudDao;
import com.ls.lserp.common.persistence.annotation.MyBatisDao;
import com.ls.lserp.dbaccess.Entity.ProductionItemEntity;

@MyBatisDao
public interface ProductionItemEntityMapper extends CrudDao<ProductionItemEntity> {
    int deleteByPrimaryKey(Long proItemId);

    int insert(ProductionItemEntity record);

    int insertSelective(ProductionItemEntity record);

    ProductionItemEntity selectByPrimaryKey(Long proItemId);

    int updateByPrimaryKeySelective(ProductionItemEntity record);

    int updateByPrimaryKeyWithBLOBs(ProductionItemEntity record);

    int updateByPrimaryKey(ProductionItemEntity record);
    
    List<ProductionItemEntity> findByCreateDate(String date);
}